→Function block
according to →IEC-standard: programmable organization unit (POU) which represents for the purpose of modularization and structuring a well-defined portion of the →program; The function block concept is realized by the →function block type and the →function block instance.
A function block is a →program organization unit (such as a →program and a →function) which store its states.Function blocks can be declared using the following elements:
-
→data types (elementary data types and user-defined data types)
-
functions (system functions and user-defined functions)
-
system function blocks (such as Bistable function blocks)
-
previously declared function blocks
Neuron Power Engineer supports declaration/usage of function blocks in these languages (according to IEC-standard):
Moreover, it is possible to create function blocks in →C or →C++ and to use them in ST. See "Integrating C-code and/or C++-code into the application (deprecated)".